package com.hezhiqin.sentineldemo;


import com.alibaba.csp.sentinel.annotation.aspectj.SentinelResourceAspect;
import org.springframework.context.annotation.Bean;
import org.springframework.context.annotation.Configuration;

/**
 * @program: homeWork
 * @description:
 * @author: hezhiqin
 * @create: 2020-02-24 17:37
 */
@Configuration
public class Config {

    @Bean
    public SentinelResourceAspect sentinelResourceAspect(){
        return new SentinelResourceAspect();
    }
}
